package com.itheima.goods.pojo;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * brand实体类
 * @author itheima
 *
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("tb_brand")
@Accessors(chain = true)
public class Brand implements Serializable{

	@ApiModelProperty("品牌id")
	@TableId(type = IdType.AUTO)
	private Integer id;//品牌id
    @ApiModelProperty("品牌名称")
	private String name;//品牌名称
    @ApiModelProperty("品牌图片地址")
	private String image;//品牌图片地址
    @ApiModelProperty("品牌的首字母")
	private String letter;//品牌的首字母
    @ApiModelProperty("排序")
	private Integer seq;//排序
}
